<template>
    <div class="section-wrap">
        <!-- 头部 -->
         <div class="headerBox">
        <div class="header">
            <x-icon type="ios-arrow-left" size="" class="icon-white" @click="goBack"></x-icon>缺项问题列表
        </div>
        </div>
        <div class="gap_div">
            <ul class="gap_list">
                <li @click="$router.push({path:'/gapDetails',query:{id:item.id}})" v-for="(item,index) in tablelist" :key="index">
                    <p>{{item.keyRequire.length>15?item.keyRequire.slice(0,15)+'..':item.keyRequire}}</p>
                    <x-icon type="ios-arrow-right" size="22" class="icon-right"></x-icon>
                </li>
               
            </ul>
        </div>
    </div>
</template>
<script>
export default {
  data() {
    return {
      params: {
        classifyID: "",
        skipCount: 0,
        maxResultCount: 10
      },
      tablelist:[],
      isDisabled: true // 是否禁止输入
    };
  },
  components: {},
  created() {
    this.getData();
  },
  methods: {
    goBack() {
      this.$router.go(-1);
    },
    getData() {
     
      this.params.classifyID=this.$route.query.id;
      this.$axiosAjax
        .getQuantizeStandardList(this.params)
        .then(res => {
          
          if (res.data.success == true) {
            this.tablelist = res.data.result.items;
          }
        })
        .catch(err => {});
    }
  }
};
</script>
<style lang="less" scoped>
.gap_div {
  background: #fff;
  .gap_list {
    margin-left: 20px;
    li {
      padding: 16px 20px 16px 0;
      border-bottom: 1px solid #ebeef2;
      display: flex;
      justify-content: space-between;
      align-items: center;
      p {
        line-height: 22px;
        font-size: 14px;
        font-weight: bold;
        width: 80%;
      }
      .vux-x-icon {
        fill: #999;
      }
    }
  }
}
</style>
